<template>
  <ConfigProvider>
    <ElConfigProvider
      :locale="config.lang === 'zh' ? locale : null"
      :size="config.elementPlus.size"
      :message="{
        max: config.elementPlus.messageCount,
        duration: config.elementPlus.messageDuration,
      }"
    >
      <RouterView></RouterView>
    </ElConfigProvider>
  </ConfigProvider>
</template>
<script setup>
import ConfigProvider from "@/components/Basic/ConfigProvider/index.vue";
import locale from "element-plus/dist/locale/zh-cn";
import config from "./configs/globalConfig";
console.log("test");
</script>

<style scoped></style>
